package com.jie.langlangmall.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.Email;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;

/**
 * @Author Jie
 * @Date 2024/11/22 11:01
 * @Email 3217998214@qq.com
 * @Description 用户注册参数
 */
@Data
public class UmsAdminParam {
    @NotEmpty
    @Schema(title = "用户名", requiredMode = Schema.RequiredMode.REQUIRED)
    private String username;
    @NotEmpty
    @Schema(title = "密码", requiredMode = Schema.RequiredMode.REQUIRED)
    private String password;
    @Schema(title = "用户头像")
    private String icon;
    @Email
    @Schema(title = "邮箱")
    private String email;
    @Schema(title = "用户昵称")
    private String nickName;
    @Schema(title = "备注")
    private String note;
}
